﻿@model MvcCms.Data.Bug
@section HtmlHead{
}
<h2>
    Delete</h2>
<h3>
    Are you sure you want to delete this bug?</h3>
<div class="display-label">
    BugID</div>
<div class="display-field">
    @Model.BugID
</div>
<div class="display-label">
    ProjectID</div>
<div class="display-field">
    @Model.ProjectID
</div>
<div class="display-label">
    Title</div>
<div class="display-field">
    @Model.Title
</div>
<div class="display-label">
    Description</div>
<div class="display-label">
    CategoryID</div>
<div class="display-field">
    @Model.CategoryID
</div>
<div class="display-label">
    MilestoneID</div>
<div class="display-field">
    @Model.MilestoneID
</div>
<div class="display-label">
    PriorityID</div>
<div class="display-field">
    @Model.PriorityID
</div>
<div class="display-label">
    StatusID</div>
<div class="display-field">
    @Model.StatusID
</div>
<div class="display-label">
    CreatorUserName</div>
<div class="display-field">
    @Model.CreatorUserName
</div>
<div class="display-label">
    AssignedUserName</div>
<div class="display-field">
    @Model.AssignedTo.UserName
</div>
<div class="display-label">
    DateCreated</div>
<div class="display-field">
    @String.Format("{0:g}", Model.DateCreated)
</div>
<div class="display-label">
    LastUpdate</div>
<div class="display-field">
    @String.Format("{0:g}", Model.LastUpdate)
</div>
@using (Html.BeginForm())
{ 
    <p>
        <input type="submit" value="Delete" />
        @Html.ActionLink("Cancel", "Index", new { projectid = Model.ProjectID }, new { @class = "button" })
    </p>
}
@section ScriptContent{
}
